0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇒, 183 ms)
↳2 Prolog
↳3 PrologToPiTRSProof (⇒, 0 ms)
↳4 PiTRS
↳5 DependencyPairsProof (⇔, 282 ms)
↳6 PiDP
↳7 DependencyGraphProof (⇔, 0 ms)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔, 0 ms)
↳11 PiDP
↳12 PiDPToQDPProof (⇒, 0 ms)
↳13 QDP
↳14 QDPSizeChangeProof (⇔, 4 ms)
↳15 YES
↳16 PiDP
↳17 UsableRulesProof (⇔, 0 ms)
↳18 PiDP
↳19 PiDPToQDPProof (⇒, 0 ms)
↳20 QDP
↳21 QDPSizeChangeProof (⇔, 0 ms)
↳22 YES
goalD_in_g(s(T8)) → U7_g(T8, s2tA_in_ga(T8, X27))
s2tA_in_ga(s(T16), node(X62, X63, X62)) → U1_ga(T16, X62, X63, s2tA_in_ga(T16, X62))
s2tA_in_ga(s(T22), node(nil, X92, X93)) → U2_ga(T22, X92, X93, s2tA_in_ga(T22, X93))
s2tA_in_ga(s(T28), node(X122, X123, nil)) → U3_ga(T28, X122, X123, s2tA_in_ga(T28, X122))
s2tA_in_ga(s(T34), node(nil, X143, nil)) → s2tA_out_ga(s(T34), node(nil, X143, nil))
s2tA_in_ga(0, nil) → s2tA_out_ga(0, nil)
U3_ga(T28, X122, X123, s2tA_out_ga(T28, X122)) → s2tA_out_ga(s(T28), node(X122, X123, nil))
U2_ga(T22, X92, X93, s2tA_out_ga(T22, X93)) → s2tA_out_ga(s(T22), node(nil, X92, X93))
U1_ga(T16, X62, X63, s2tA_out_ga(T16, X62)) → s2tA_out_ga(s(T16), node(X62, X63, X62))
U7_g(T8, s2tA_out_ga(T8, X27)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U8_g(T8, s2tA_in_ga(T8, T39))
U8_g(T8, s2tA_out_ga(T8, T39)) → U9_g(T8, treeB_in_g(T39))
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U9_g(T8, treeB_out_g(T39)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U10_g(T8, s2tA_in_ga(T8, T40))
U10_g(T8, s2tA_out_ga(T8, T40)) → U11_g(T8, T40, treeB_in_g(T40))
U11_g(T8, T40, treeB_out_g(T40)) → U12_g(T8, treeB_in_g(T40))
U12_g(T8, treeB_out_g(T40)) → goalD_out_g(s(T8))
goalD_in_g(s(T57)) → U13_g(T57, s2tA_in_ga(T57, X189))
U13_g(T57, s2tA_out_ga(T57, X189)) → goalD_out_g(s(T57))
goalD_in_g(s(T57)) → U14_g(T57, s2tA_in_ga(T57, T59))
U14_g(T57, s2tA_out_ga(T57, T59)) → U15_g(T57, treeB_in_g(node(nil, X188, T59)))
U15_g(T57, treeB_out_g(node(nil, X188, T59))) → goalD_out_g(s(T57))
goalD_in_g(s(T65)) → U16_g(T65, s2tA_in_ga(T65, X223))
U16_g(T65, s2tA_out_ga(T65, X223)) → goalD_out_g(s(T65))
goalD_in_g(s(T65)) → U17_g(T65, s2tA_in_ga(T65, T67))
U17_g(T65, s2tA_out_ga(T65, T67)) → U18_g(T65, treeB_in_g(node(T67, X224, nil)))
U18_g(T65, treeB_out_g(node(T67, X224, nil))) → goalD_out_g(s(T65))
goalD_in_g(s(T73)) → U19_g(T73, treeC_in_)
treeC_in_ → treeC_out_
U19_g(T73, treeC_out_) → goalD_out_g(s(T73))
U19_g(T73, treeC_out_) → U20_g(T73, treeC_in_)
U20_g(T73, treeC_out_) → goalD_out_g(s(T73))
goalD_in_g(0) → U21_g(treeC_in_)
U21_g(treeC_out_) → goalD_out_g(0)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
goalD_in_g(s(T8)) → U7_g(T8, s2tA_in_ga(T8, X27))
s2tA_in_ga(s(T16), node(X62, X63, X62)) → U1_ga(T16, X62, X63, s2tA_in_ga(T16, X62))
s2tA_in_ga(s(T22), node(nil, X92, X93)) → U2_ga(T22, X92, X93, s2tA_in_ga(T22, X93))
s2tA_in_ga(s(T28), node(X122, X123, nil)) → U3_ga(T28, X122, X123, s2tA_in_ga(T28, X122))
s2tA_in_ga(s(T34), node(nil, X143, nil)) → s2tA_out_ga(s(T34), node(nil, X143, nil))
s2tA_in_ga(0, nil) → s2tA_out_ga(0, nil)
U3_ga(T28, X122, X123, s2tA_out_ga(T28, X122)) → s2tA_out_ga(s(T28), node(X122, X123, nil))
U2_ga(T22, X92, X93, s2tA_out_ga(T22, X93)) → s2tA_out_ga(s(T22), node(nil, X92, X93))
U1_ga(T16, X62, X63, s2tA_out_ga(T16, X62)) → s2tA_out_ga(s(T16), node(X62, X63, X62))
U7_g(T8, s2tA_out_ga(T8, X27)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U8_g(T8, s2tA_in_ga(T8, T39))
U8_g(T8, s2tA_out_ga(T8, T39)) → U9_g(T8, treeB_in_g(T39))
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U9_g(T8, treeB_out_g(T39)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U10_g(T8, s2tA_in_ga(T8, T40))
U10_g(T8, s2tA_out_ga(T8, T40)) → U11_g(T8, T40, treeB_in_g(T40))
U11_g(T8, T40, treeB_out_g(T40)) → U12_g(T8, treeB_in_g(T40))
U12_g(T8, treeB_out_g(T40)) → goalD_out_g(s(T8))
goalD_in_g(s(T57)) → U13_g(T57, s2tA_in_ga(T57, X189))
U13_g(T57, s2tA_out_ga(T57, X189)) → goalD_out_g(s(T57))
goalD_in_g(s(T57)) → U14_g(T57, s2tA_in_ga(T57, T59))
U14_g(T57, s2tA_out_ga(T57, T59)) → U15_g(T57, treeB_in_g(node(nil, X188, T59)))
U15_g(T57, treeB_out_g(node(nil, X188, T59))) → goalD_out_g(s(T57))
goalD_in_g(s(T65)) → U16_g(T65, s2tA_in_ga(T65, X223))
U16_g(T65, s2tA_out_ga(T65, X223)) → goalD_out_g(s(T65))
goalD_in_g(s(T65)) → U17_g(T65, s2tA_in_ga(T65, T67))
U17_g(T65, s2tA_out_ga(T65, T67)) → U18_g(T65, treeB_in_g(node(T67, X224, nil)))
U18_g(T65, treeB_out_g(node(T67, X224, nil))) → goalD_out_g(s(T65))
goalD_in_g(s(T73)) → U19_g(T73, treeC_in_)
treeC_in_ → treeC_out_
U19_g(T73, treeC_out_) → goalD_out_g(s(T73))
U19_g(T73, treeC_out_) → U20_g(T73, treeC_in_)
U20_g(T73, treeC_out_) → goalD_out_g(s(T73))
goalD_in_g(0) → U21_g(treeC_in_)
U21_g(treeC_out_) → goalD_out_g(0)
GOALD_IN_G(s(T8)) → U7_G(T8, s2tA_in_ga(T8, X27))
GOALD_IN_G(s(T8)) → S2TA_IN_GA(T8, X27)
S2TA_IN_GA(s(T16), node(X62, X63, X62)) → U1_GA(T16, X62, X63, s2tA_in_ga(T16, X62))
S2TA_IN_GA(s(T16), node(X62, X63, X62)) → S2TA_IN_GA(T16, X62)
S2TA_IN_GA(s(T22), node(nil, X92, X93)) → U2_GA(T22, X92, X93, s2tA_in_ga(T22, X93))
S2TA_IN_GA(s(T22), node(nil, X92, X93)) → S2TA_IN_GA(T22, X93)
S2TA_IN_GA(s(T28), node(X122, X123, nil)) → U3_GA(T28, X122, X123, s2tA_in_ga(T28, X122))
S2TA_IN_GA(s(T28), node(X122, X123, nil)) → S2TA_IN_GA(T28, X122)
GOALD_IN_G(s(T8)) → U8_G(T8, s2tA_in_ga(T8, T39))
U8_G(T8, s2tA_out_ga(T8, T39)) → U9_G(T8, treeB_in_g(T39))
U8_G(T8, s2tA_out_ga(T8, T39)) → TREEB_IN_G(T39)
TREEB_IN_G(node(T50, T48, T51)) → U4_G(T50, T48, T51, treeB_in_g(T50))
TREEB_IN_G(node(T50, T48, T51)) → TREEB_IN_G(T50)
TREEB_IN_G(node(T50, T48, T52)) → U5_G(T50, T48, T52, treeB_in_g(T50))
U5_G(T50, T48, T52, treeB_out_g(T50)) → U6_G(T50, T48, T52, treeB_in_g(T52))
U5_G(T50, T48, T52, treeB_out_g(T50)) → TREEB_IN_G(T52)
GOALD_IN_G(s(T8)) → U10_G(T8, s2tA_in_ga(T8, T40))
U10_G(T8, s2tA_out_ga(T8, T40)) → U11_G(T8, T40, treeB_in_g(T40))
U10_G(T8, s2tA_out_ga(T8, T40)) → TREEB_IN_G(T40)
U11_G(T8, T40, treeB_out_g(T40)) → U12_G(T8, treeB_in_g(T40))
U11_G(T8, T40, treeB_out_g(T40)) → TREEB_IN_G(T40)
GOALD_IN_G(s(T57)) → U13_G(T57, s2tA_in_ga(T57, X189))
GOALD_IN_G(s(T57)) → U14_G(T57, s2tA_in_ga(T57, T59))
U14_G(T57, s2tA_out_ga(T57, T59)) → U15_G(T57, treeB_in_g(node(nil, X188, T59)))
U14_G(T57, s2tA_out_ga(T57, T59)) → TREEB_IN_G(node(nil, X188, T59))
GOALD_IN_G(s(T65)) → U16_G(T65, s2tA_in_ga(T65, X223))
GOALD_IN_G(s(T65)) → U17_G(T65, s2tA_in_ga(T65, T67))
U17_G(T65, s2tA_out_ga(T65, T67)) → U18_G(T65, treeB_in_g(node(T67, X224, nil)))
U17_G(T65, s2tA_out_ga(T65, T67)) → TREEB_IN_G(node(T67, X224, nil))
GOALD_IN_G(s(T73)) → U19_G(T73, treeC_in_)
GOALD_IN_G(s(T73)) → TREEC_IN_
U19_G(T73, treeC_out_) → U20_G(T73, treeC_in_)
U19_G(T73, treeC_out_) → TREEC_IN_
GOALD_IN_G(0) → U21_G(treeC_in_)
GOALD_IN_G(0) → TREEC_IN_
goalD_in_g(s(T8)) → U7_g(T8, s2tA_in_ga(T8, X27))
s2tA_in_ga(s(T16), node(X62, X63, X62)) → U1_ga(T16, X62, X63, s2tA_in_ga(T16, X62))
s2tA_in_ga(s(T22), node(nil, X92, X93)) → U2_ga(T22, X92, X93, s2tA_in_ga(T22, X93))
s2tA_in_ga(s(T28), node(X122, X123, nil)) → U3_ga(T28, X122, X123, s2tA_in_ga(T28, X122))
s2tA_in_ga(s(T34), node(nil, X143, nil)) → s2tA_out_ga(s(T34), node(nil, X143, nil))
s2tA_in_ga(0, nil) → s2tA_out_ga(0, nil)
U3_ga(T28, X122, X123, s2tA_out_ga(T28, X122)) → s2tA_out_ga(s(T28), node(X122, X123, nil))
U2_ga(T22, X92, X93, s2tA_out_ga(T22, X93)) → s2tA_out_ga(s(T22), node(nil, X92, X93))
U1_ga(T16, X62, X63, s2tA_out_ga(T16, X62)) → s2tA_out_ga(s(T16), node(X62, X63, X62))
U7_g(T8, s2tA_out_ga(T8, X27)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U8_g(T8, s2tA_in_ga(T8, T39))
U8_g(T8, s2tA_out_ga(T8, T39)) → U9_g(T8, treeB_in_g(T39))
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U9_g(T8, treeB_out_g(T39)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U10_g(T8, s2tA_in_ga(T8, T40))
U10_g(T8, s2tA_out_ga(T8, T40)) → U11_g(T8, T40, treeB_in_g(T40))
U11_g(T8, T40, treeB_out_g(T40)) → U12_g(T8, treeB_in_g(T40))
U12_g(T8, treeB_out_g(T40)) → goalD_out_g(s(T8))
goalD_in_g(s(T57)) → U13_g(T57, s2tA_in_ga(T57, X189))
U13_g(T57, s2tA_out_ga(T57, X189)) → goalD_out_g(s(T57))
goalD_in_g(s(T57)) → U14_g(T57, s2tA_in_ga(T57, T59))
U14_g(T57, s2tA_out_ga(T57, T59)) → U15_g(T57, treeB_in_g(node(nil, X188, T59)))
U15_g(T57, treeB_out_g(node(nil, X188, T59))) → goalD_out_g(s(T57))
goalD_in_g(s(T65)) → U16_g(T65, s2tA_in_ga(T65, X223))
U16_g(T65, s2tA_out_ga(T65, X223)) → goalD_out_g(s(T65))
goalD_in_g(s(T65)) → U17_g(T65, s2tA_in_ga(T65, T67))
U17_g(T65, s2tA_out_ga(T65, T67)) → U18_g(T65, treeB_in_g(node(T67, X224, nil)))
U18_g(T65, treeB_out_g(node(T67, X224, nil))) → goalD_out_g(s(T65))
goalD_in_g(s(T73)) → U19_g(T73, treeC_in_)
treeC_in_ → treeC_out_
U19_g(T73, treeC_out_) → goalD_out_g(s(T73))
U19_g(T73, treeC_out_) → U20_g(T73, treeC_in_)
U20_g(T73, treeC_out_) → goalD_out_g(s(T73))
goalD_in_g(0) → U21_g(treeC_in_)
U21_g(treeC_out_) → goalD_out_g(0)
GOALD_IN_G(s(T8)) → U7_G(T8, s2tA_in_ga(T8, X27))
GOALD_IN_G(s(T8)) → S2TA_IN_GA(T8, X27)
S2TA_IN_GA(s(T16), node(X62, X63, X62)) → U1_GA(T16, X62, X63, s2tA_in_ga(T16, X62))
S2TA_IN_GA(s(T16), node(X62, X63, X62)) → S2TA_IN_GA(T16, X62)
S2TA_IN_GA(s(T22), node(nil, X92, X93)) → U2_GA(T22, X92, X93, s2tA_in_ga(T22, X93))
S2TA_IN_GA(s(T22), node(nil, X92, X93)) → S2TA_IN_GA(T22, X93)
S2TA_IN_GA(s(T28), node(X122, X123, nil)) → U3_GA(T28, X122, X123, s2tA_in_ga(T28, X122))
S2TA_IN_GA(s(T28), node(X122, X123, nil)) → S2TA_IN_GA(T28, X122)
GOALD_IN_G(s(T8)) → U8_G(T8, s2tA_in_ga(T8, T39))
U8_G(T8, s2tA_out_ga(T8, T39)) → U9_G(T8, treeB_in_g(T39))
U8_G(T8, s2tA_out_ga(T8, T39)) → TREEB_IN_G(T39)
TREEB_IN_G(node(T50, T48, T51)) → U4_G(T50, T48, T51, treeB_in_g(T50))
TREEB_IN_G(node(T50, T48, T51)) → TREEB_IN_G(T50)
TREEB_IN_G(node(T50, T48, T52)) → U5_G(T50, T48, T52, treeB_in_g(T50))
U5_G(T50, T48, T52, treeB_out_g(T50)) → U6_G(T50, T48, T52, treeB_in_g(T52))
U5_G(T50, T48, T52, treeB_out_g(T50)) → TREEB_IN_G(T52)
GOALD_IN_G(s(T8)) → U10_G(T8, s2tA_in_ga(T8, T40))
U10_G(T8, s2tA_out_ga(T8, T40)) → U11_G(T8, T40, treeB_in_g(T40))
U10_G(T8, s2tA_out_ga(T8, T40)) → TREEB_IN_G(T40)
U11_G(T8, T40, treeB_out_g(T40)) → U12_G(T8, treeB_in_g(T40))
U11_G(T8, T40, treeB_out_g(T40)) → TREEB_IN_G(T40)
GOALD_IN_G(s(T57)) → U13_G(T57, s2tA_in_ga(T57, X189))
GOALD_IN_G(s(T57)) → U14_G(T57, s2tA_in_ga(T57, T59))
U14_G(T57, s2tA_out_ga(T57, T59)) → U15_G(T57, treeB_in_g(node(nil, X188, T59)))
U14_G(T57, s2tA_out_ga(T57, T59)) → TREEB_IN_G(node(nil, X188, T59))
GOALD_IN_G(s(T65)) → U16_G(T65, s2tA_in_ga(T65, X223))
GOALD_IN_G(s(T65)) → U17_G(T65, s2tA_in_ga(T65, T67))
U17_G(T65, s2tA_out_ga(T65, T67)) → U18_G(T65, treeB_in_g(node(T67, X224, nil)))
U17_G(T65, s2tA_out_ga(T65, T67)) → TREEB_IN_G(node(T67, X224, nil))
GOALD_IN_G(s(T73)) → U19_G(T73, treeC_in_)
GOALD_IN_G(s(T73)) → TREEC_IN_
U19_G(T73, treeC_out_) → U20_G(T73, treeC_in_)
U19_G(T73, treeC_out_) → TREEC_IN_
GOALD_IN_G(0) → U21_G(treeC_in_)
GOALD_IN_G(0) → TREEC_IN_
goalD_in_g(s(T8)) → U7_g(T8, s2tA_in_ga(T8, X27))
s2tA_in_ga(s(T16), node(X62, X63, X62)) → U1_ga(T16, X62, X63, s2tA_in_ga(T16, X62))
s2tA_in_ga(s(T22), node(nil, X92, X93)) → U2_ga(T22, X92, X93, s2tA_in_ga(T22, X93))
s2tA_in_ga(s(T28), node(X122, X123, nil)) → U3_ga(T28, X122, X123, s2tA_in_ga(T28, X122))
s2tA_in_ga(s(T34), node(nil, X143, nil)) → s2tA_out_ga(s(T34), node(nil, X143, nil))
s2tA_in_ga(0, nil) → s2tA_out_ga(0, nil)
U3_ga(T28, X122, X123, s2tA_out_ga(T28, X122)) → s2tA_out_ga(s(T28), node(X122, X123, nil))
U2_ga(T22, X92, X93, s2tA_out_ga(T22, X93)) → s2tA_out_ga(s(T22), node(nil, X92, X93))
U1_ga(T16, X62, X63, s2tA_out_ga(T16, X62)) → s2tA_out_ga(s(T16), node(X62, X63, X62))
U7_g(T8, s2tA_out_ga(T8, X27)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U8_g(T8, s2tA_in_ga(T8, T39))
U8_g(T8, s2tA_out_ga(T8, T39)) → U9_g(T8, treeB_in_g(T39))
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U9_g(T8, treeB_out_g(T39)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U10_g(T8, s2tA_in_ga(T8, T40))
U10_g(T8, s2tA_out_ga(T8, T40)) → U11_g(T8, T40, treeB_in_g(T40))
U11_g(T8, T40, treeB_out_g(T40)) → U12_g(T8, treeB_in_g(T40))
U12_g(T8, treeB_out_g(T40)) → goalD_out_g(s(T8))
goalD_in_g(s(T57)) → U13_g(T57, s2tA_in_ga(T57, X189))
U13_g(T57, s2tA_out_ga(T57, X189)) → goalD_out_g(s(T57))
goalD_in_g(s(T57)) → U14_g(T57, s2tA_in_ga(T57, T59))
U14_g(T57, s2tA_out_ga(T57, T59)) → U15_g(T57, treeB_in_g(node(nil, X188, T59)))
U15_g(T57, treeB_out_g(node(nil, X188, T59))) → goalD_out_g(s(T57))
goalD_in_g(s(T65)) → U16_g(T65, s2tA_in_ga(T65, X223))
U16_g(T65, s2tA_out_ga(T65, X223)) → goalD_out_g(s(T65))
goalD_in_g(s(T65)) → U17_g(T65, s2tA_in_ga(T65, T67))
U17_g(T65, s2tA_out_ga(T65, T67)) → U18_g(T65, treeB_in_g(node(T67, X224, nil)))
U18_g(T65, treeB_out_g(node(T67, X224, nil))) → goalD_out_g(s(T65))
goalD_in_g(s(T73)) → U19_g(T73, treeC_in_)
treeC_in_ → treeC_out_
U19_g(T73, treeC_out_) → goalD_out_g(s(T73))
U19_g(T73, treeC_out_) → U20_g(T73, treeC_in_)
U20_g(T73, treeC_out_) → goalD_out_g(s(T73))
goalD_in_g(0) → U21_g(treeC_in_)
U21_g(treeC_out_) → goalD_out_g(0)
TREEB_IN_G(node(T50, T48, T52)) → U5_G(T50, T48, T52, treeB_in_g(T50))
U5_G(T50, T48, T52, treeB_out_g(T50)) → TREEB_IN_G(T52)
TREEB_IN_G(node(T50, T48, T51)) → TREEB_IN_G(T50)
goalD_in_g(s(T8)) → U7_g(T8, s2tA_in_ga(T8, X27))
s2tA_in_ga(s(T16), node(X62, X63, X62)) → U1_ga(T16, X62, X63, s2tA_in_ga(T16, X62))
s2tA_in_ga(s(T22), node(nil, X92, X93)) → U2_ga(T22, X92, X93, s2tA_in_ga(T22, X93))
s2tA_in_ga(s(T28), node(X122, X123, nil)) → U3_ga(T28, X122, X123, s2tA_in_ga(T28, X122))
s2tA_in_ga(s(T34), node(nil, X143, nil)) → s2tA_out_ga(s(T34), node(nil, X143, nil))
s2tA_in_ga(0, nil) → s2tA_out_ga(0, nil)
U3_ga(T28, X122, X123, s2tA_out_ga(T28, X122)) → s2tA_out_ga(s(T28), node(X122, X123, nil))
U2_ga(T22, X92, X93, s2tA_out_ga(T22, X93)) → s2tA_out_ga(s(T22), node(nil, X92, X93))
U1_ga(T16, X62, X63, s2tA_out_ga(T16, X62)) → s2tA_out_ga(s(T16), node(X62, X63, X62))
U7_g(T8, s2tA_out_ga(T8, X27)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U8_g(T8, s2tA_in_ga(T8, T39))
U8_g(T8, s2tA_out_ga(T8, T39)) → U9_g(T8, treeB_in_g(T39))
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U9_g(T8, treeB_out_g(T39)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U10_g(T8, s2tA_in_ga(T8, T40))
U10_g(T8, s2tA_out_ga(T8, T40)) → U11_g(T8, T40, treeB_in_g(T40))
U11_g(T8, T40, treeB_out_g(T40)) → U12_g(T8, treeB_in_g(T40))
U12_g(T8, treeB_out_g(T40)) → goalD_out_g(s(T8))
goalD_in_g(s(T57)) → U13_g(T57, s2tA_in_ga(T57, X189))
U13_g(T57, s2tA_out_ga(T57, X189)) → goalD_out_g(s(T57))
goalD_in_g(s(T57)) → U14_g(T57, s2tA_in_ga(T57, T59))
U14_g(T57, s2tA_out_ga(T57, T59)) → U15_g(T57, treeB_in_g(node(nil, X188, T59)))
U15_g(T57, treeB_out_g(node(nil, X188, T59))) → goalD_out_g(s(T57))
goalD_in_g(s(T65)) → U16_g(T65, s2tA_in_ga(T65, X223))
U16_g(T65, s2tA_out_ga(T65, X223)) → goalD_out_g(s(T65))
goalD_in_g(s(T65)) → U17_g(T65, s2tA_in_ga(T65, T67))
U17_g(T65, s2tA_out_ga(T65, T67)) → U18_g(T65, treeB_in_g(node(T67, X224, nil)))
U18_g(T65, treeB_out_g(node(T67, X224, nil))) → goalD_out_g(s(T65))
goalD_in_g(s(T73)) → U19_g(T73, treeC_in_)
treeC_in_ → treeC_out_
U19_g(T73, treeC_out_) → goalD_out_g(s(T73))
U19_g(T73, treeC_out_) → U20_g(T73, treeC_in_)
U20_g(T73, treeC_out_) → goalD_out_g(s(T73))
goalD_in_g(0) → U21_g(treeC_in_)
U21_g(treeC_out_) → goalD_out_g(0)
TREEB_IN_G(node(T50, T48, T52)) → U5_G(T50, T48, T52, treeB_in_g(T50))
U5_G(T50, T48, T52, treeB_out_g(T50)) → TREEB_IN_G(T52)
TREEB_IN_G(node(T50, T48, T51)) → TREEB_IN_G(T50)
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
TREEB_IN_G(node(T50, T52)) → U5_G(T52, treeB_in_g(T50))
U5_G(T52, treeB_out_g) → TREEB_IN_G(T52)
TREEB_IN_G(node(T50, T51)) → TREEB_IN_G(T50)
treeB_in_g(nil) → treeB_out_g
treeB_in_g(node(T50, T51)) → U4_g(treeB_in_g(T50))
treeB_in_g(node(T50, T52)) → U5_g(T52, treeB_in_g(T50))
U4_g(treeB_out_g) → treeB_out_g
U5_g(T52, treeB_out_g) → U6_g(treeB_in_g(T52))
U6_g(treeB_out_g) → treeB_out_g
treeB_in_g(x0)
U4_g(x0)
U5_g(x0, x1)
U6_g(x0)
From the DPs we obtained the following set of size-change graphs:
S2TA_IN_GA(s(T22), node(nil, X92, X93)) → S2TA_IN_GA(T22, X93)
S2TA_IN_GA(s(T16), node(X62, X63, X62)) → S2TA_IN_GA(T16, X62)
S2TA_IN_GA(s(T28), node(X122, X123, nil)) → S2TA_IN_GA(T28, X122)
goalD_in_g(s(T8)) → U7_g(T8, s2tA_in_ga(T8, X27))
s2tA_in_ga(s(T16), node(X62, X63, X62)) → U1_ga(T16, X62, X63, s2tA_in_ga(T16, X62))
s2tA_in_ga(s(T22), node(nil, X92, X93)) → U2_ga(T22, X92, X93, s2tA_in_ga(T22, X93))
s2tA_in_ga(s(T28), node(X122, X123, nil)) → U3_ga(T28, X122, X123, s2tA_in_ga(T28, X122))
s2tA_in_ga(s(T34), node(nil, X143, nil)) → s2tA_out_ga(s(T34), node(nil, X143, nil))
s2tA_in_ga(0, nil) → s2tA_out_ga(0, nil)
U3_ga(T28, X122, X123, s2tA_out_ga(T28, X122)) → s2tA_out_ga(s(T28), node(X122, X123, nil))
U2_ga(T22, X92, X93, s2tA_out_ga(T22, X93)) → s2tA_out_ga(s(T22), node(nil, X92, X93))
U1_ga(T16, X62, X63, s2tA_out_ga(T16, X62)) → s2tA_out_ga(s(T16), node(X62, X63, X62))
U7_g(T8, s2tA_out_ga(T8, X27)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U8_g(T8, s2tA_in_ga(T8, T39))
U8_g(T8, s2tA_out_ga(T8, T39)) → U9_g(T8, treeB_in_g(T39))
treeB_in_g(nil) → treeB_out_g(nil)
treeB_in_g(node(T50, T48, T51)) → U4_g(T50, T48, T51, treeB_in_g(T50))
treeB_in_g(node(T50, T48, T52)) → U5_g(T50, T48, T52, treeB_in_g(T50))
U5_g(T50, T48, T52, treeB_out_g(T50)) → U6_g(T50, T48, T52, treeB_in_g(T52))
U6_g(T50, T48, T52, treeB_out_g(T52)) → treeB_out_g(node(T50, T48, T52))
U4_g(T50, T48, T51, treeB_out_g(T50)) → treeB_out_g(node(T50, T48, T51))
U9_g(T8, treeB_out_g(T39)) → goalD_out_g(s(T8))
goalD_in_g(s(T8)) → U10_g(T8, s2tA_in_ga(T8, T40))
U10_g(T8, s2tA_out_ga(T8, T40)) → U11_g(T8, T40, treeB_in_g(T40))
U11_g(T8, T40, treeB_out_g(T40)) → U12_g(T8, treeB_in_g(T40))
U12_g(T8, treeB_out_g(T40)) → goalD_out_g(s(T8))
goalD_in_g(s(T57)) → U13_g(T57, s2tA_in_ga(T57, X189))
U13_g(T57, s2tA_out_ga(T57, X189)) → goalD_out_g(s(T57))
goalD_in_g(s(T57)) → U14_g(T57, s2tA_in_ga(T57, T59))
U14_g(T57, s2tA_out_ga(T57, T59)) → U15_g(T57, treeB_in_g(node(nil, X188, T59)))
U15_g(T57, treeB_out_g(node(nil, X188, T59))) → goalD_out_g(s(T57))
goalD_in_g(s(T65)) → U16_g(T65, s2tA_in_ga(T65, X223))
U16_g(T65, s2tA_out_ga(T65, X223)) → goalD_out_g(s(T65))
goalD_in_g(s(T65)) → U17_g(T65, s2tA_in_ga(T65, T67))
U17_g(T65, s2tA_out_ga(T65, T67)) → U18_g(T65, treeB_in_g(node(T67, X224, nil)))
U18_g(T65, treeB_out_g(node(T67, X224, nil))) → goalD_out_g(s(T65))
goalD_in_g(s(T73)) → U19_g(T73, treeC_in_)
treeC_in_ → treeC_out_
U19_g(T73, treeC_out_) → goalD_out_g(s(T73))
U19_g(T73, treeC_out_) → U20_g(T73, treeC_in_)
U20_g(T73, treeC_out_) → goalD_out_g(s(T73))
goalD_in_g(0) → U21_g(treeC_in_)
U21_g(treeC_out_) → goalD_out_g(0)
S2TA_IN_GA(s(T22), node(nil, X92, X93)) → S2TA_IN_GA(T22, X93)
S2TA_IN_GA(s(T16), node(X62, X63, X62)) → S2TA_IN_GA(T16, X62)
S2TA_IN_GA(s(T28), node(X122, X123, nil)) → S2TA_IN_GA(T28, X122)
S2TA_IN_GA(s(T22)) → S2TA_IN_GA(T22)
From the DPs we obtained the following set of size-change graphs: